import { Button } from "@/components/ui"
import { useCookie } from "@/hooks/useCookie"

export const DebugValue = () => {

    const [cookie, updateCookie, deleteCookie] = useCookie('test', '123')

    return <>
        <p className="text-2xl">{cookie}</p>
        <Button onClick={() => updateCookie('456')}>更新</Button>
        <Button onClick={() => deleteCookie()}>删除</Button>
    </>
}
